Report .elc bogosities more clearly.
authorJim Blandy <jimb@redhat.com>
Wed, 26 May 1993 22:22:58 +0000 (22:22 +0000)
committerJim Blandy <jimb@redhat.com>
Wed, 26 May 1993 22:22:58 +0000 (22:22 +0000)
make-dist

index f0c8805bc83dc37ac3c3981bce81addbf522438c..34fbf0f73126d5aea27559bff483bfd10850fa4a 100755 (executable)
--- a/make-dist
+++ b/make-dist
@@ -90,7 +90,11 @@ fi
 ### Check for .elc files with no corresponding .el file.
 ls -1 lisp/*.el | sed 's/\.el$/.elc/' > /tmp/el
 ls -1 lisp/*.elc > /tmp/elc
-comm -13 /tmp/el /tmp/elc
+bogosities="`comm -13 /tmp/el /tmp/elc`"
+if [ "${bogosities}" != "" ]; then
+  echo "The following .elc files have no corresponding .el files:"
+  echo "${bogosities}"
+fi
 
 echo "Creating staging directory: \`${tempparent}'"
 mkdir ${tempparent}